package com.itqf.Enum;

public enum CodeEnum
{
    selectsuccess(200,"数据查询完成"),
    selecterror(200,"数据没有查询到"),
    parameterincomplete(200,"请传入完整的参数"),
    Updateerror(200,"修改失败"),
    Updatesuccess(200,"修改成功"),
    updateImgSuccess(200,"头像更换成功"),
    updateImgErro(200,"头像更换失败"),
    deleteerror(200,"删除失败"),
    deletesuccess(200,"删除成功"),
    adderror(200,"添加失败"),
    addsuccess(200,"添加成功");

    private int code;
    private String msg;

    CodeEnum(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}